using Sedge.Core.Globalization;
using Sedge.UI.View;
using Sedge.UI.ViewModel;

namespace Sedge.UI.Controller
{
	public class GeneralizedErrorController : SimpleControllerBase<GeneralizedErrorView>
	{
		protected override GeneralizedErrorView CreateView()
		{
			return new GeneralizedErrorView(new GeneralizedErrorViewModel(Suite, Options));
		}

		protected override string GetControllerCaption()
		{
			return Locale.Strings.DetailsCaption;
		}
	}
}